.PHONY:all
all:servercal clientcal

Flag=-DMySelf=1
Lib=-ljsoncpp

servercal:Servercal.cc
	g++ $^ -o $@ -std=c++11 $(Lib) #$(Flag)
clientcal:Clientcal.cc
	g++ $^ -o $@ -std=c++11 -g $(Lib) #$(Flag) 

.PHONY:clean
clean:
	rm -f servercal clientcal